.project-check-task {
  .nav-bar,
  .nav-bar-placeholder {
    margin-top: 0;
    > .right {
      // background-color: #fff;
      // box-shadow: inset 0px -1px 0px 0px #eceef2;
      padding-right: 16px;
    }
  }
  .nav-bar .right span {
    font-size: 20px;
  }
  .file-preview-wrapper {
    video {
      width: 100%;
    }
    img {
      width: 100%;
    }
    iframe {
      height: 100%;
    }
  }
  background: #f6f7f9;
  // padding-bottom: 52px;

  .m-tabs {
    flex: 1;
    height: 100%;
    .at-tabs__header {
      display: none;
    }
    .at-tabs__underline {
      display: none;
    }
    .at-tabs-pane > div {
      background-color: #ffffff;
      margin-top: 16px;
      &.base-info {
        margin-top: 0;
      }
    }
    .at-tabs-pane > .file-preview-wrapper {
      background-color: unset;
    }
  }

  .base-info {
    padding: 16px;
    .desc {
      font-family: PingFangSC-Medium, PingFang SC;
      font-size: 16px;
      font-weight: 500;
      color: #262626;
    }
    .time {
      margin-top: 12px;
      font-size: 12px;
      font-weight: 400;
      color: #8a909f;
      line-height: 16px;
    }
  }

  .information {
    padding: 16px;
    .container {
      font-size: 14px;
      border-radius: 8px;
      background: #f7f8fa;
      .information-line {
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        padding: 0 12px;
        height: 54px;
        align-items: center;
        display: flex;
        justify-content: space-between;
        box-shadow: inset 0px -1px 0px 0px #eceef2;
        .name {
          color: #4d525c;
          flex-shrink: 0;
        }
        .value {
          color: #262626;
        }
        &:last-child {
          box-shadow: none;
        }
      }
      .channels-line {
        margin-top: 14px;
        padding-bottom: 6px;
        height: auto;
        display: block;
        .name {
          float: left;
        }
        .channels {
          text-align: end;
          .channel-tag {
            display: inline-block;
            margin-bottom: 10px;
          }
        }
      }
      .status {
        width: 59px;
        height: 28px;
        // background: #6bc950;
        border-radius: 6px;
        font-size: 13px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        text-align: center;
        line-height: 28px;
        // &.complete {
        //   color: #ffffff;
        // }
        // &.not-complete {
        //   color: #262626;
        //   background: #dbdee6;
        // }
      }
      .channel-tag {
        height: 22px;
        padding: 0 10px;
        text-align: center;
        line-height: 22px;
        border-radius: 4px;
        border: 1px solid #dbdee6;

        font-size: 13px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #262626;
        margin: 0 8px;
      }
    }
  }
  .description {
    font-weight: 400;
    padding: 16px 16px 20px;
    .title {
      display: flex;
      align-items: center;
      height: 16px;
      font-size: 13px;
      color: #8a909f;
      .iconfont {
        margin-right: 4px;
        font-size: 11px;
      }
    }
    &.empty {
      padding: 16px 16px;
    }
    .word {
      margin-top: 12px;
      margin-left: 4px;
      font-size: 13px;
      color: #262626;
      line-height: 22px;
    }
    .ck-editor {
      font-size: 13px;
    }
   
  }
 
  .drop-down-card {
    overflow: hidden;
    transition: max-height 0.5s;
    > .title {
      box-shadow: inset 0px -1px 0px 0px #eceef2;
      height: 50px;
      padding: 0 16px;
      justify-content: space-between;
      display: flex;
      align-items: center;
      font-size: 13px;
      font-weight: 400;
      height: 50px;
      color: #8a909f;
      .left {
        display: flex;
        align-items: center;
        .iconfont {
          margin-right: 5px;
          font-size: 15px;
          // margin-right: 4px;
        }
      }
      .right {
        transition: transform 0.2s;
        transform: rotate(270deg);
        &.rotate {
          transform: rotate(360deg);
        }
      }
    }
  }
  .more-info .info {
    box-shadow: inset 0px -1px 0px 0px #eceef2;
    padding: 0 16px;
    > .name {
      height: 45px;

      display: flex;
      align-items: center;
      font-size: 14px;
      font-weight: 400;
      line-height: 18px;
      .iconfont {
        color: #8a909f;
        // height: 16px;
        margin-right: 4px;
        // width: 16px;
        &.small {
          font-size: 13px;
        }
      }
    }
    .value {
      margin-bottom: 16px;
      font-size: 14px;
      font-weight: 400;
      color: #262626;
      line-height: 22px;
    }
    .radios {
      font-size: 0;
      margin-bottom: 6px;
    }
    .associate {
      margin-bottom: 6px;
    }

    .radio-tag {
      font-size: 13px;
      line-height: 26px;
      display: inline-block;
      height: 26px;
      overflow: hidden;
      // margin: 0 8px 10px 0;
      margin-right: 8px;
      border-radius: 13px;
      padding: 0 10px;
      background: #ffdd72;
    }
    .square-tag {
      height: 26px;
      line-height: 26px;
      background: #eceef2;
      border-radius: 2px;
      padding: 2px 8px;
      padding-left: 16px;
      margin-right: 6px;
      margin-bottom: 10px;
      display: inline-block;
      position: relative;
      &::before {
        position: absolute;
        content: "";
        width: 4px;
        height: 4px;
        left: 8px;
        border-radius: 50%;
        background: #ced1d8;
        top: 50%;
        transform: translateY(-50%);
      }
    }
  }
  .more-info .info.one-line {
    height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .value {
      margin: 0;
    }
    .checkbox {
      width: 16px;
      height: 16px;
      margin-top: 8px;
    }
  }
  .more-info .info:last-child {
    box-shadow: none;
  }

  .sub-tasks {
    .sub-task {
      display: flex;
      height: 45px;
      .left {
        align-self: center;
        width: 12px;
        margin-left: 16px;
        height: 12px;
        background: #6bc950;
        border-radius: 2px;
        margin-right: 12px;
      }
      .right {
        font-size: 14px;
        line-height: 45px;
        padding-left: 6px;
        flex: 1;
        box-shadow: inset 0px -1px 0px 0px #eceef2;
      }
    }
    .sub-task.multiple-line {
      height: 66px;
      .left {
        align-self: flex-start;
        margin-top: 16px;
      }
      .right {
        line-height: normal;
        .title {
          margin-top: 11px;
        }
        .desc {
          color: #8a909f;
          font-size: 12px;
          margin-top: 6px;
          display: flex;
          align-items: center;
          > .iconfont {
            line-height: 22px;
            margin-right: 4px;
            font-size: 14px;
          }
          > i {
            display: inline-block;
            height: 4px;
            width: 4px;
            border-radius: 50%;
            margin-left: 4px;
            margin-right: 6px;
            vertical-align: middle;
            background: #dbdee6;
          }
        }
      }
    }
    .sub-task.level-1 {
      margin-left: 22px;
    }
    .sub-task.level-2 {
      margin-left: 44px;
    }
    .sub-task.level-3 {
      margin-left: 66px;
    }
    .sub-task:last-child .right {
      box-shadow: none;
    }
  }
  .attachments {
    .attachment {
      margin: 16px;
      display: flex;
      height: 40px;
    }
  }
  .checks {
    .check {
      padding: 16px;
      box-shadow: inset 0px -1px 0px 0px #eceef2;
      .title {
        display: flex;
        .name {
          flex: 1;
          height: 20px;
          font-size: 14px;
        }
        .status {
          span {
            font-size: 10px;
            margin-right: 5px;
          }
          width: 64px;
          height: 20px;
          line-height: 20px;
          background: #ffffff;
          border-radius: 10px;
          border: 1px solid #eceef2;
          text-align: center;
          color: #4d525c;
          font-size: 12px;
        }
      }
      .check-line {
        margin-top: 4px;
        margin-bottom: 4px;
        font-size: 12px;
        color: #8a909f;
        .open {
          display: inline-block;
          padding: 0 4px;
          border-radius: 4px;
          background: #f6f7f9;
        }
        .checker-name {
          margin-right: 12px;
        }
      }
    }
  }

  .page-change {
    .page-change-left,
    .page-change-right {
      position: fixed;
      top: 50%;
      height: 30px;
      width: 30px;
      transform: translateY(-50%);
      > img {
        height: 100%;
      }
    }
    .page-change-left {
      left: 16px;
    }
    .page-change-right {
      right: 16px;
    }
  }

  .check-task-modal {
    color: red;
    .at-modal__overlay {
      background: rgba(0, 0, 0, 0.5);
    }
    .at-modal__container {
      width: 320px;
    }
    .at-modal__content {
      padding: 0;
      .at-textarea {
        .at-textarea__textarea {
          height: 100px;
        }
        padding: 12px;
        textarea {
          height: 100px;
          font-size: 14px;
        }
      }
    }
    .m-modal-header {
      padding: 16px 16px 0;
      height: 24px;
      font-size: 15px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: #262626;
      display: flex;
      align-items: center;
      > span {
        // height: 15px;
        // width: 15px;
        font-size: 18px;
        margin-right: 8px;
      }
    }
    .m-modal-textarea {
      padding: 12px 16px;
      textarea::-webkit-input-placeholder,
      textarea:-moz-placeholder,
      textarea::-moz-placeholder,
      textarea:-ms-input-placeholder {
        color: #c7cbd5;
      }
      .at-textarea {
        border: 1px solid #dbdee6;
      }
    }
    .m-modal-footer {
      display: flex;
      height: 50px;
      font-weight: 500;
      > * {
        background-color: #fff;
        height: 100%;
        margin-top: 0;
        border-radius: 0;
        &::after {
          border-radius: 0;
        }
      }
      .cancel,
      .check {
        line-height: 50px;
        font-size: 15px;
        &::after {
          border: none;
          border-top: 1px solid #eceef2;
        }
      }
      .cancel {
        color: #262626;
      }
      .check {
        color: #3972f9;
        &::after {
          border-left: 1px solid #eceef2;
        }
      }
    }
  }
}
.project-check-task.file-preview {
  height: 100%;
  .m-tabs,
  .at-tabs-pane {
    height: calc(100% - 44px);
  }
  .at-tabs__body,
  .file-preview-wrapper {
    height: 100%;
  }
  .at-tabs-pane .file-preview-wrapper {
    margin-top: 0;
    video {
      // margin-top: 50%;
    }
  }
}
.task-float-layout {
  .layout-body {
    padding: 0;
  }
  .layout-body__content {
    // position: relative;
  }
  .title {
    display: flex;
    height: 48px;
    justify-content: space-between;
    align-items: center;

    font-size: 15px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #262626;
    padding: 0 16px;
    box-shadow: inset 0px -1px 0px 0px #eceef2;
    > span {
      font-size: 20px;
      // height: 20px;
      // width: 20px;
    }
  }
  .status {
    // height: 750px;
    padding: 0 16px;
    overflow: scroll;
  }
  .status-line {
    position: relative;
    box-shadow: inset 0px -1px 0px 0px #f6f7f9;
    display: flex;
    height: 56px;
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #262626;
    line-height: 20px;
    align-items: center;
    justify-content: space-between;
    .left {
      display: flex;
      align-items: center;
    }
    .icon {
      height: 18px;
      border-radius: 4px;
      width: 18px;
      margin-right: 12px;
      background: #dbdee6;
    }
    .right {
      > img {
        vertical-align: bottom;
        height: 20px;
        width: 20px;
      }
      visibility: hidden;
    }
  }
  .status-line.checked {
    .right {
      visibility: initial;
    }
    &::before {
      content: "";
      position: absolute;
      height: 100%;
      left: -16px;
      width: 4px;
      border-radius: 0px 5px 5px 0px;
      background: #3972f9;
    }
  }
  .at-float-layout__overlay {
    background: rgba(0, 0, 0, 0.5);
  }
  .at-float-layout__container {
    border-radius: 12px 12px 0px 0px;
    box-shadow: inset 0px -1px 0px 0px #f6f7f9;
    // height: 176px;
    min-height: 176px;
  }
  .layout-body {
    padding: 0;
    .layout-body__content {
      min-height: 0;
    }
  }
}
.project-check-task .task-container {
  > div {
    margin-top: 16px;
    background-color: #fff;
  }
}

.project-check-task {
  .attachment {
    display: flex;
    height: 40px;
    margin-bottom: 16px;
    .left {
      width: 40px;
      border: 1px solid #c7cbd5;
      border-radius: 4px;
      overflow: hidden;
      display: flex;
      align-items: center;
      flex-shrink: 0;
      img {
        width: 100%;
      }
      .iconfont {
        font-size: 38px;
      }
    }
    .right {
      margin-left: 8px;
      > .name {
        font-size: 14px;
        display: flex;
        height: 20px;
        line-height: 20px;
      }
      > .username {
        font-size: 12px;
        height: 20px;
        line-height: 16px;
        color: #8a909f;
      }
    }
  }
}
.hidden {
  height: 100vh !important;
  overflow: hidden !important;
}

.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){
  border-width: 0 !important;
  border-style: none !important;

}
.ck.ck-toolbar{
  border: none;
}